<?php
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap {

	protected function _initSessions() {
		$config = Zend_Registry::get("config");
		Zend_Session::setOptions(array(
		  "save_path" => $config->resources->session->save_path,
		  "use_only_cookies" => "On",
		  "remember_me_seconds" => $config->resources->session->remember_me_seconds
		));
		Zend_Session::start();
		//Zend_Session::forgetMe($config->resources->session->remember_me_seconds);
		
		$defaultNamespace = new Zend_Session_Namespace();
		if (!isset($defaultNamespace->initialized)) {
			Zend_Session::regenerateId();
			$defaultNamespace->initialized = true;
		}
//		$this->_bootstrap("session");
//		return $this;
	}	
}

?>